package org.bizming.web.action;

import org.bizming.passport.model.Passport;
import org.bizming.passport.model.PassportExt;
import org.bizming.passport.service.PassportService;

public class PassportAction {

	private PassportService passportService;

	private Passport p;
	private PassportExt e;

	/**
	 * 转入登录页面
	 * 
	 * @return
	 */
	public String gotoLogin() {
		return "gotoLogin";
	}

	/**
	 * 进入注册页面
	 * 
	 * @return
	 */
	public String gotoRegister() {
		return "gotoRegister";
	}

	/**
	 * 进入添加记录页面
	 * 
	 * @return
	 */
	public String addRecord() {
		return "gotoAddRecord";
	}

	/**
	 * 进入历史记录页面
	 * 
	 * @return
	 */
	public String recordList() {
		return "gotoRecordList";
	}

	// ======================================
	public PassportService getPassportService() {
		return passportService;
	}

	public void setPassportService(PassportService passportService) {
		this.passportService = passportService;
	}

	public Passport getP() {
		return p;
	}

	public void setP(Passport p) {
		this.p = p;
	}

	public PassportExt getE() {
		return e;
	}

	public void setE(PassportExt e) {
		this.e = e;
	}

}
